/** \file
* Contains the WIN32-style application entry point.
* This file is part of Chorus, available at
* http://code.google.com/p/chorus-twitter/ . This file and all associated files
* and derivative works are bound by the terms of the LGPL 3.0 license,
* available at http://www.gnu.org/licenses/lgpl-3.0-standalone.html .
* \par Subversion URL:
* \$URL: http://chorus-twitter.googlecode.com/svn/branches/cpp/src/system/win32/sysentry.cpp $
* \version \$Rev: 153 $
* \date    \$Date: 2010-04-06 07:43:42 +0000 (Tue, 06 Apr 2010) $
*/

#define NEEDS_WIN32
#include "config.h"

#include <windows.h>

#include "system/entry.h"

/// The WIN32-style entry point.
/// \param hInstance     The process instance handle.
/// \param hPrevInstance Not used.
/// \param lpCmdLine     The command-line parameter string.
/// \param nCmdShow      The window display command.
/// \return The system error level. 1 for success or 0 otherwise.
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance,
	LPSTR lpCmdLine, int nCmdShow)
{
	// Call the basic entry function.
	return entry();
}
